package com.jumper.study.admin.dto.req;

import java.util.List;

import jakarta.validation.constraints.NotBlank;

public class MenuReq {
    @NotBlank(message="未填写菜单名称")
    private String title;

    @NotBlank(message="未填写菜单链接")
    private String uri;

    private String desc;

    private Integer parentId;

    private List<Integer> apis;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<Integer> getApis() {
        return apis;
    }

    public void setApis(List<Integer> apis) {
        this.apis = apis;
    }

    
}
